package com.danskin.wechat.service;

import java.util.List;

import com.danskin.wechat.entity.CustPointRecord;
import com.danskin.wechat.entity.WxMediaPlatform;
import com.danskin.wechat.util.Page;

public interface CustPointRecordService {

	/**
	 * 新建积分领取记录
	 * 
	 * @param param
	 * @return
	 * @author makunsmac
	 */
	int insertCustPointRecord(CustPointRecord param);

	List<CustPointRecord> findCustPointRecordListAPI(Page page, String type);

	/**
	 * 保存积分明细数据
	 * 
	 * @param mpId
	 * @param entity
	 * @return
	 */
	int saveCustPointRecord(CustPointRecord entity, WxMediaPlatform mp);
}
